'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;
  router.get('/', controller.home.index);
  router.get('/demo', controller.demo.index);
  router.get('/photo', controller.photo.index);
  router.get('/content', controller.demo.content);
};
